package com.lj.universalframework.http

import java.security.cert.X509Certificate
import javax.net.ssl.X509TrustManager

/**
 * <p>文件名：XTrustManager
 * <p>创建者：LJ
 * <p>创建日期：2020\7\14 0014 11:41
 * <p>描述：
 */
class XTrustManager : X509TrustManager {

    override fun checkClientTrusted(chain: Array<out X509Certificate>?, authType: String?) {
    }

    override fun checkServerTrusted(chain: Array<out X509Certificate>?, authType: String?) {
    }

    override fun getAcceptedIssuers(): Array<X509Certificate> {
        return emptyArray()
    }
}